package com.zatech.cgnci.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.CgnciUserInfoQueryDTO;
import com.zatech.cgnci.project.entity.CgnciUserInfoDO;
import com.zatech.cgnci.project.mapper.CgnciUserInfoMapper;
import com.zatech.cgnci.project.service.CgnciUserInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zatech.cgnci.project.vo.CgnciUserInfoPageVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 人员信息表 服务实现类
 * </p>
 *
 * @author Generator
 * @since 2025-03-12
 */
@Service
public class CgnciUserInfoServiceImpl extends ServiceImpl<CgnciUserInfoMapper, CgnciUserInfoDO> implements CgnciUserInfoService {

    @Override
    public IPage<CgnciUserInfoPageVO> pageUserInfo(CgnciUserInfoQueryDTO queryDTO) {
        return this.baseMapper.pageUserInfo(queryDTO.toPage(), queryDTO);
    }
}
